import type Dictionary_Response_Dto from "@/dto/response/Dictionary_Response_Dto";

interface Pages {
    page: number;
    limit: number;
    total: number;
}

/**
 * 页面基础Data
 */
interface Base_Data {
  isRecord?: boolean;
    isFirst?: boolean;
    data?: any[];
    duty?:any[];
    pages?: Pages;
    key?: string;
    updateid:string,
    loading?: boolean;
    isOpen?: boolean,
    request?: any;
}

/**
 * 字典主页(类别列表)
 */
export interface Dictionary_Index_Data extends Base_Data {

}

/**
 * 字典类别详情
 */
export interface Dictionary_Detail_Data extends Base_Data {
    isEdit: boolean;
    isOpen: boolean;
}

/**
 * 客户主页
 */
export interface Customer_Index_Data extends Base_Data {
    // isRecord: boolean;
}

/**
 * 新增客户
 */
export interface Customer_Add_Data extends Base_Data {
    source_list: Dictionary_Response_Dto[];
    type_list: Dictionary_Response_Dto[];
    level_list: Dictionary_Response_Dto[];
    responsibility_list: Dictionary_Response_Dto[];
}
